﻿using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WCS_Entity.Model;
using WCS_Entity.Prorocol;
using WCS_Service.DomianService.Interface;
using WCS_Service.DomianService.Models;
using WCS_Service.ProtocolServices.Interface;

namespace WCS_Service.DomianService.ComDomainService
{
    public class ModbusTcpComDomainManage : IComBaseDomainManage
    {
        public int autoEquipmentId { get => throw new NotImplementedException(); set => throw new NotImplementedException(); }
        public string serviceName { get => throw new NotImplementedException(); set => throw new NotImplementedException(); }
        public string comPara { get => throw new NotImplementedException(); set => throw new NotImplementedException(); }
        public string areaCode { get; set; }
        public List<ProtocolEntity> protocolPara { get => throw new NotImplementedException(); set => throw new NotImplementedException(); }
        public ConcurrentDictionary<string, ProtocolModel> protocolMsgList { get => throw new NotImplementedException(); set => throw new NotImplementedException(); }
        public string equipmentType { get => throw new NotImplementedException(); set => throw new NotImplementedException(); }
        public IProtocolService protocolService { get => throw new NotImplementedException(); set => throw new NotImplementedException(); }

        public event Func<ClientSideDisConnectEventArgs, Task> ComDisConnectEvent;

        public Task<bool> ConnectAsync()
        {
            throw new NotImplementedException();
        }

        public Task DisConnectAsync()
        {
            throw new NotImplementedException();
        }

        public Task<bool> InitService()
        {
            throw new NotImplementedException();
        }

        public void ReceiveAsync(IAsyncResult ar)
        {
            throw new NotImplementedException();
        }

        public Task<bool> SendAsync(string para)
        {
            throw new NotImplementedException();
        }

        public Task SendHeartbeatAsync()
        {
            throw new NotImplementedException();
        }
    }
}
